<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>管理后台</title>
        <css file="__PUBLIC__/css/common.css"/>
        <jquery/>
 		
 		     <script>
            var URL = '__CONTROL__';
            var WEB = '__WEB__';
            var PUBLIC = '__PUBLIC__';
            
        	</script>
        <js file="__PUBLIC__/js/index.js"/>
    </head>
    <body>
        <div id='hd_jqueryui_div'></div>
        <div id="top">
            <div class="content">
                <p>
                    
                </p>
                <ul class="service">
                 
                    <li><a  href='javascript:void(0);'>-欢迎使用管理后台系统-</a></li>
                </ul>
                <div class="channel">
                    <ul class="menu">
                       	<foreach from='$menu' value='$v'>
                            <li  menu_id = "{$v['id']}">
                                <div></div>
                                <span>{$v['name']}</span>
                            </li>
                        </foreach>
                <!--             <li menu_id ="{$v['id']}">
                                <div></div>
                                <span>菜单222</span>
                            </li> -->
                    
                    </ul>
                    <ul class="user_info">
                        <li>您好！<strong style="color:dodgerblue;">{$hd.SESSION.ica_uname}</strong>[{$hd.SESSION.ica_class}]</li>
                        <li><a href="__APP__/Login/loginOut">[退出登录]</a></li>
                    </ul>
                </div>
            </div>
            <div class="tool_nav">
                <div class="tool">
                    <span class='hidemenu' title='隐藏菜单'></span>
                    
                </div>
                <div class="location">
                    <h6><i id='home'></i>当前位置：</h6>
                    <span>首页</span>
                    <ul>
                        <li>
                            <a href="__ROOT__" target="_blank" class='m-btn'>网站首页</a>
                        </li>
                        <li>
                            <a href='javascript:void(0);' id ="update_cache" class='m-btn'>更新缓存</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div id="left"></div>
        <div id="right">
            <iframe src="__CONTROL__/copy" name="frame" scrolling="auto" frameborder="0" id="window_frame"></iframe>
        </div>
        <!--[if IE 6]>
            <script type="text/javascript" src="__ROOT__/data/js/DD_belatedPNG_0.0.8a-min.js"></script>
            <script type="text/javascript">
                DD_belatedPNG.fix('.hidemenu','background');
                DD_belatedPNG.fix('.m-btn','background');
            </script>
        <![endif]-->
        <script type="text/javascript">
             $(function(){

             
             });
             $('#update_cache').click(function(){
                 var cn = confirm('确定删除缓存文件夹？');
                    if(cn){
                        $.post("__CONTROL__/"+"ajaxDelCache",{'status':'del'},function(data){
                            if(data.status){
                                alert('删除成功');
                            }else{
                                alert('删除失败');

                            }
                        },'json');
                    }
                    return false;
             });
        </script>
    </body>
</html>